<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div class="ht-form">
<!--    select -->
    <el-form-item label="审核">
        <el-select v-model="check.status" >
            <el-option :value="200" label="通过"></el-option>
            <el-option :value="-1" label="退回"></el-option>
        </el-select>
    </el-form-item>
    <el-select v-model="searchKey.region_id" filterable clearable>
        <el-option :value="item.id" :label="item.title"
                   v-for="item in projectList" :key="item.id"></el-option>
    </el-select>
    <el-form-item label="项目">
        <el-select v-model="editData.project_id" filterable clearable>
            <el-option :value="item.id" :label="item.title"
                       v-for="item in projectList" :key="item.id"></el-option>
        </el-select>
    </el-form-item>
    <!-- table 开关    input -->
    <el-table-column align="center" prop="status" width="100px" label="状态">
        <template slot-scope="scope">
            <el-switch
                    v-model="scope.row.status"
                    active-color="#13ce66"
                    inactive-color="#eeeeee"
                    @change="changeStatus($event,scope.row.id)"
                    :active-value="1"
                    :inactive-value="2">
            </el-switch>
        </template>
    </el-table-column>
<!--    时间-->

    <el-form-item label="项目名称">
        <el-date-picker
                v-model="editData.create_time"
                type="date"
                format="yyyy-MM-dd"
                value-format="yyyy-MM-dd"
                placeholder="选择日期">
        </el-date-picker>
    </el-form-item>


    <!--    input -->
    <el-form :model="editData" label-width="120px" size="small">
        <el-form-item label="项目名称">
            <el-input type="text" placeholder="项目名称" v-model="editData.title"></el-input>
        </el-form-item>

        <el-form-item label="备注">
            <el-input type="textarea" placeholder="备注" v-model="editData.content"></el-input>
        </el-form-item>

        <el-form-item>
            <el-button @click="goBack">取消</el-button>
            <el-button type="primary" @click="onSubmit">提交</el-button>
        </el-form-item>
    </el-form>
</div>
</body>
</html>